MenuDecision is an external function for use with QuicKeys 2. It allows you to run one of two QuicKey macros depending on the status of a menu item.
By clicking on the "Select Menu" button you are put in a mode that allows you to select an item from any menu at the top of the screen, like the standard QK menu QuicKey. The menu name and item name will then be displayed in the dialog box.
You then choose whether you want the item to be CHECKED, NOT CHECKED, or that you DONT CARE. You also choose whether you want the item to be ENABLED, DISABLED, or that you DONT CARE.
If the status of the menu, at the time the QuicKey is run, matches the preferences you set in the dialog (exactly), then the "Pass QuicKey" will be run, otherwise the "Fail QuicKey" will be run.
Either the "Pass QuicKey" or the "Fail QuicKey" field may be left blank if you do not wish to have a QuicKey run should the appropriate condition occur. If this extension is used inside a sequence, the appropriate (Pass or Fail) QuicKey will be run and then the rest of the sequence will be run afterwards.
An example of this external’s use is a macro that will select a menu item if it is not checked. This way you could have a macro that sets Microsoft Word's fractional widths on, independant of its current state (the menu item is a toggle normally).
To install the MenuDecision external, use CE Software’s Extension Manager, and follow their instructions for its use.
MenuDecision is the property of Simeon Leifer, the author. I retain full rights to this software in its entirety. I hereby grant permission, and encourage, FREE distribution of this software, unmodified. This software is distributed as Pay What You Think It Is Worth Ware. If you use it and think it is worth money, send me some. This software is provided as is and I make no warrantees of any kind either expressed or implied and claim no responsibility for any damages resulting from its use. This software was written using THINK C.
Microsoft Word, THINK C, Extension Manager, and QuicKeys are trademarks of their respective creators.
Now that I have gotten the legal stuff out of the way, please feel free to send me any comments or questions.
Simeon Leifer
1134 Oak Street
South Pasadena, CA 91030
CIS: 71131,3555
Version History:
1.3 - Added code so the QuicKeys driver is not called if no macro name is given
System 7.0 compatible, added ability to select a menu item that is not enabled.
Balloon help added for setup dialog.
1.3.5 - maintenance release fixing reported problem with using this extension in a